tpm_thinned function

Compute the transition probability matrix of a thinned periodically inhomogeneous Markov chain.