final changes made to code before final data is produced. Fudge and distribution added to cleanup .fits image and generate distribution plot respectively