Fixed input paths.
Added initial, incomplete implementation of Viterbi algorithm.