Updated with correct gaussian formula now. It rescales the gaussian such that integrating from -1 sigma to +1 sigma normalizes the distribution