added a test case for matrix.determinant