Fixed the serious bug where the paths were initialized in a wrong way.
Fixed an input bug.
Added the weight initialization block to the Viterbi method. (still not working correctly)
Fixed a silly bug.