docs: public static int medoid(boolean parallel, List<? extends Vec> X, double tol, DistanceMetric dm)
      {
          IntList order = new IntList(X.size());
          ListUtils.addRange(order, 0, X.size(), 1);
          List<Double> accel = dm.getAccelerationCache(X, parallel);
          return medoid(parallel, order, tol, X, dm, accel);
      }