Added new unit test for matrix determinant correctness.