adding robust segment intersection tests