corrected viterbi underflow
changing viterbi data structure
viterbi complete