Add matrix multiplication functionality