cleanups to HMM predictor
refactored observation likelihood