Gaussian Transformation - Transformation with functions