Additions to luDecompose's swap function (incomplete still).  Created the function laplaceDeterminant that takes in a square matrix, and calculates the determinant of it by using Laplace (cofactor) expansion.  It has not been debugged or tested yet, but should become airtight soon.  This function should only be used in the case that the luDecomposition function does not come to fruition, as laplace's time complexity is around O(n!) (compare to luDecomposition: O( (n^3)/3 )).