Local optimization now return a bool indicating success.
Correcting a test
Penalize points outside the volume with infinte.
Merge branch 'dev' of https://github.com/PetterS/curve_extraction into dev