docs: public List<Pair<Double, Integer>> queryWithDistances(INDArray query, int numResults) {
              return RPUtils.queryAllWithDistances(query,X,Arrays.asList(this),numResults,similarityFunction);
      }