Added geometry methods for calculating the distance between points and lines, angles between lines and reflection points for the primary reflections