Matrix emissionMatrix = iteration.getEmissionMatrix();
Matrix transitionMatrix = iteration.getTransitionMatrix();
// first, assign the pseudo count
emissionMatrix.assign(pseudoCount);
transitionMatrix.assign(pseudoCount);
// now count the transitions
countTransitions(transitionMatrix, emissionMatrix, observedSequence,
viterbiPath);