refactor determinant code
Determinant performance tests for small matrices