Fixing mistake in gaussian formula.