Debugging

Also switched back to viterbi output update