modified text output in cosmology.py