Update collisions.py

Improved documentation