Updated optimize
Updated optimize

Changed reference to paper
Added control for MaxFunEval
Added control for MaxIter
Fixed Maxwell index scaling error
Added break for when redoIfFailed is false
Added some output parameters

filip-szczepankiewicz/NOW,jsjol/NOW