corrected a small bug in segment.hpp where f_tip was computed wrong and added an example with geometric semantics
started adding twists with the semantics info