http://speech.tifr.res.in/tutorials/hmmTutExamplesAlgo.pdf