updated tests for re::Plane
reworked Segment and Plane shapes, added Ray shape