Collisions return a value

Thanks to Gallefrey, the collision code returns the proper value. Next
step: displacement.