added TransitionMatrix