code: public void addSample(double[] sampleData) {
  		if (sampleIndex >= numSamples)
  			throw new IllegalArgumentException("Too many samples");
  		if (sampleData.length != sampleSize)
  			throw new IllegalArgumentException("Unexpected sample size");
  
  		for (int i = 0; i < sampleData.length; i++) {
  			A.set(sampleIndex, i, sampleData[i]);
  		}
  		sampleIndex++;
  	}
docs: Adds a new sample of the raw data to internal data structure for later processing. All the samples must
  be added before computeBasis is called.
  
  @param sampleData
  sample from original raw data