Gmm

changed implementation for em algorithm.