Source code is updated

C code is actually not tested. Julia code has some output, but not sure
it is correct, needs debugging
Updated project tex files