estepE function

E-step in the EM algorithm for a parameterized Gaussian mixture model.