code: public void setup( int numSamples , int sampleSize ) {
          mean = new double[ sampleSize ];
          A.reshape(numSamples,sampleSize,false);
          sampleIndex = 0;
          numComponents = -1;
      }
docs: Must be called before any other functions. Declares and sets up internal data structures.
  
  @param numSamples Number of samples that will be processed.
  @param sampleSize Number of elements in each sample.