still trying to get viterbi to work - need to get smaller example working