Viterbi is debugged