Variational inference for Gaussian mixture models