hidden markov learning problem, with bugs to fix