fixed mistake in the equation and adjusted parameters