transitions function

Get matrix of observed transition frequencies