using sum of 6 gaussians