Added adaptive parameters option to Nelder Mead along with custom step sizes