added cosmics.py closes #1