added partially working topics viterbi