[IMP] being_after & being_before for pos

Computes transition probabilities