Enhancements to MixtureOfDiagonalGaussians

Fixed component(), gaussian(), and weight() to be const-correct and
added an additional function to renormalize the guassian weights.