Adding HMM inference implementation.