Added 'mass' support to Collision detection.