Updated to use new markov matrix. 3-gram based.