Minor performance tweaks
Faster version of Line#containsPoint(point)