TrainBaumWelch bwl = new TrainBaumWelch(learntHmm,training);
KullbackLeiblerDistanceCalculator klc =
new KullbackLeiblerDistanceCalculator();
bwl.iteration(5);
learntHmm = (HiddenMarkovModel)bwl.getMethod();
double e = klc.distance(learntHmm, hmm);
Assert.assertTrue(e<0.01);