Finished adding the Gaussian corrections