Return `var` results when indexing
It would be handy to add indexing operators with return type `var Tensor[T]` so that the result can be passed to a function for in-place operations. This may relate to #52.