tpm_p function

Build all transition probability matrices of a periodically inhomogeneous HMM