Matrix: Implemented matrix multiplication.