Calculate the likelihood of a transition matrix given counts C.
C : ndarray
Count matrix
T : ndarray
Transition matrix
f : float
log likelihood of T given C