hwrt/geometry.py: Fixed intersection calculation