Transition Matrix and Markov Chains