Matrix multiplication and addition