Made determinant.c compilable as a standalone program. Fixed bugs.