Viterbi and probabilty of segmentation methods match previous implementation