finished EM Gaussian mixture example