First iteration of Nelder-Mead algorithm.