Checks wether the function 'nelder_mead_min' works, by making it minimize a quadratic function.
Package: optim