stationary function

Compute the stationary distribution of a transition probability matrix.