changed Markov chain class
Merging