Output of matrix D complete
added a line in defaultinput.txt
Fixed some bugs, not completely OK
Working version with output of D and C
Optimized memory usage (still some leaks according to valgrind)