lsqadj.{c,h} submission

According to Yosef review of the previous (closed) pull request, and with Yosef generous help, I cleaned up the branch to contain only the tools necessary for the following ray_tracing submission (Alessandro is working on that). This feature pull request includes already the fix of Yosef in his previous pull request (```make verify``` is replacing ```make check```)