Added cleaned-up markov 1 model code to this repository