Collision detection

Now we're able to detect collisions and measure their magnitude and
direction