Fixed bugs in transition probs.