mm function

Markov model specification