libmath_func: Added gaussian function