multipoint optimization (low & high) now gives the same answer as the MATLAB code