Unrolled a definition for performance.
Inlined the vector functions.
Changed licence to BSD3.
Removed unnecessary packages.
Some optimizations.
Some optimizations.
Geom2D will be exported also.
Refactored so that approximation by any function is possible.