Cleanup of cohorte.py and utils.py

Expanded the documentation of cohorte.py