Algorithms for Mixture Models