clean up viterbi processor
add logarithm testing