hmm's backward algorithm
bug fix: log sum was broken...
more specs