tested LU.  Atleast now the determinant code is solid for Real and Complex matrices.  This code should work fine for rational matrices also.