Added Tensor::extent() and Tensor::extent(d) methods.