implemented gaussian distribution