Modernize UT
- add [[nodiscard]]
- add constexpr
- add helper functions to deal with masked quantities
- add some asserts
- remove unneccessary destructors
- prefer STL algorithms
- have setters return reference to this
- prefer std::nearbyint over std::nearbyintf
- prefer private over protected
- prefer range-based loops
Edited by Gerhard Raven