Arithmetical convex hull

- remove adhoc namespaces and use functions:: and functors::
- add subsegment computation by reverseSmartCH in ArithmeticalDSS