Fast, implementation of the Baum-Welch algorithm (which can be made to use little memory)