A Rigorous Method for Calculus on Diffusion Tensors: Taking into Account Positivity of Eigenvalues