Check input WCS. Fixes #49.
Merge pull request #50 from astrofrog/check-input-wcs

Check input WCS. Fixes #49.