tpm_phsmm2 function

Build all transition probability matrices of an periodic-HSMM-approximating HMM