Added tester for Matrix class