nlopt works with my Mirror code, but xtol and ftol stopping criteria not working.