code: protected void swapCandidateWithBest() {
  		List<Point> tempPts = candidatePoints;
  		candidatePoints = bestFitPoints;
  		bestFitPoints = tempPts;
  
  		int tempIndex[] = matchToInput;
  		matchToInput = bestMatchToInput;
  		bestMatchToInput = tempIndex;
  
  		Model m = candidateParam;
  		candidateParam = bestFitParam;
  		bestFitParam = m;
  	}
docs: Turns the current candidates into the best ones.