Gauss elimination C code