Matrix Multiplication with test