2d forward-backward and baum-welch code

Baum-Welch still has a bug in the tr-matrix code, but the e-matrix code works beautifully.