There are legitimate reasons for doing direct equivalence in these files
Additionally, add unit tests.
Function to calculate determinant. Additionally, add unit tests.