some more hmms, hmm + markov chain integration