Fix for short transects

* also moved intersection calculation to Intersection for reuse