was instantiating the wrong objective when testing Easom func, also did not allow the minimum to be found