OK I see we have slightly extended it to handling a scalar held within a ndarray object (i.e. points.ndim == 0)