Function that performs an iteration of the minimizer.
From GSL manual, If the iteration encounters an unexpected problem then an error code will be returned, GSL_EBADFUNC : the iteration encountered a singular point where the function evaluated to Inf or NaN. GSL_FAILURE : the algorithm could not improve the current best approximation or bounding interval. The minimizer maintains a current best estimate of the position of the minimum at all times, and the current interval bounding the minimum. This information can be accessed with the following auxiliary functions,