Merge pull request #59 from prathamjoshi/master

Thanks for all the updates. This looks good now. Merging.
Merge pull request #62 from prathamjoshi/fixRunCosmics

Looks fine.
modified run_cosmics to accept more params. added iteration script
fixed variable names. rn to readnoise and sc to sigmaclip
fixed comments and docstrings. forgot on last commit