SMS: Integral matrices