code: public void initialize( List<Point> dataSet ) {
  		bestFitPoints.clear();
  
  		if( dataSet.size() > matchToInput.length ) {
  			matchToInput = new int[ dataSet.size() ];
  			bestMatchToInput = new int[ dataSet.size() ];
  		}
  	}
docs: Initialize internal data structures