Add tests for curve-curve intersection, allow tolerance as parameter for bounding box operations