docs: public double[][] getFeaturesAsArray() {
  
          double[][] data = new double[this.size()][this.nrOfDimensions];
  
          int c = 0;
          for (DataObject d : dataList) {
              data[c] = d.getFeatures();
              c++;
          }
  
          return data;
      }