Added basic math functions related to gaussians.