Analysis code for output of the Yaws Markov Model