Some more figure intersection code

What's left:
Line3 - box
box - sphere