Transition matrices precalculation is now done before every Baum-Welch iteration.