total probabiliy complete
cleaned up viterbi and tot prob