What is the Expectation Maximization Algorithm used for in machine learning?