got gaussian mixture ready for new code