SMS: Matrix computations