Changed class Geometry into namespace geometry. Made math constants constexpr.