added viterbi, needs testing
viterbi working!
fixed bugs!