code: public Pair<Double, INDArray> nn(INDArray point) {
          return nn(root, point, rect, Double.POSITIVE_INFINITY, null, 0);
      }
docs: Query for nearest neighbor. Returns the distance and point
  @param point the point to query for
  @return