finished likelihood, moving to viterbi