added mg example with two gaussians