Matrix and linear algebra support