Implement Gaussian projection.