Calculating Maximum Steepness of a Hill