Clean-ups to Viterbi state tracking
Ported convolutional codes to C++