Added maxfun option to wrapped scipy.optimize routines