Changing LocateMinima over to the NDSimplex-based code
Fix expected point calculation