Update recognition_viterbi.m