Correct computation of transition probabilities in sequenceP, + a test case for so.