update viterbi file

- update variables to reflect usage.