Fix bounding box math
Cleanup; fix intersection for coincident lines