Tensor Analysis: Theory and Applications