Add matrix addition and multiplication.