wrong derivative on Gaussian profile! (by JG)