Added RangeNd::extent(size_t) method called by Tensor::extent(size_t).