do not import viterbi if not needed

Fixed unnecessary import.