Tensor Spaces and Numerical Tensor Calculus