SMS dit: Tensor operations and their applications