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