Fixed gaussian formula.