passed numPoints to parent Optimizer class.