Replace output function by simple class

The output is now writen in a single file with one time per line.
Add Matlab script to visualize results