Consistent solver interface

The Input arguments are formatted as (fitfun, lb, ub, maxfunevals, options)