Redirecting to Nelder-Mead method