added test folder to test cosmics.py while changes are being made. changed tabs to 4 spaces in cosmics.py (regex)