I was re-running the BayesHMM demo but the result seems to be broken; I checked-out to b8302f79c67f155ca1014584902665e77512ea43, where the result seems to be fine.