fixed run_cosmics.py bug. now creates output filename based on input filename
Merge pull request #62 from prathamjoshi/fixRunCosmics

Looks fine.