Baum-Welch implemented. All other algorithms corrected and tested.