Find absolute extrema of surfaces in 3-space using gradient ascent/descent