Minor updates to Cogito. Fixing namespace and adding space in functions for readability.