Ridiculous outputs from Viterbi Array method