Implemented Nelder–Mead method for minimalization
minimum problem