solve instead of solve_new with fonctionning test
Correction of a lot a memory leak trough valgrind