add markov model generating function