improved documentation of tensor