Fixes for continuous HMM