Finished first round of markov model. Need to debug now