Implemented Gaussian elimination in lu_det.c