first order version of a bayesian gaussian mixture. Added logDist object to group distributions working in log-space.