estep function

E-step for parameterized Gaussian mixture models.