REF: moved optimization routines in dolo.numeric.optimize