Reworked how I calculate the determinant of a permutation matrix (sign() function). Now Determinant, LU(P) decompositions are working