I have a matrix m that represents the probabilities transitioning from states to states.
E.g. for the sample below I will always get stuck in states 1,3,4, and state 2 I