Java implementation of Expectation Maximization.