Updated Gaussian Sampler derivation.