Transition probability matrix#Markov chains with a finite state space