Source: http://luthuli.cs.uiuc.edu/~daf/courses/Signals AI/Papers/HMMs/00735811.pdf