Efficient computations with symmetric and non-symmetric tensors with support for automatic differentiation.