Add Hidden Markov Model