Markov plugin

I think I've got markov's initialization fixed now.