docs: public static StatisticalMoments[] newArray(int dimensionality) {
      StatisticalMoments[] arr = new StatisticalMoments[dimensionality];
      for(int i = 0; i < dimensionality; i++) {
        arr[i] = new StatisticalMoments();
      }
      return arr;
    }