Fix Issue149

*  Fixed Makefile so the libraryes path  detected automaticly
* Attempt to correct rounding errors mentioned in issue #149 (failed, but I'm still left fixed `double2str()` because it more correctly)