Markov Models and Predictive Analytics with Cats