tpm_ihsmm function

Builds all transition probability matrices of an inhomogeneous-HSMM-approximating HMM