The mixture of Gaussian method