Minor changes to support masking
Merge pull request #19 from spacetelescope/masking

Minor changes to support masking