fix to account for derivative of meanSigma