Corrected steepest descent and linear interpolation.