satmask and pixfrac_tester

Added satmask.py
Made substantial changes to pixfrac_tester.py