SMS: Tensor calculus.