Change linear gain to use automatic error propagation and better handle units
Add bounds checking to FITS slices

Closes #41
Merge pull request #46 from mwcraig/slice-check

And some sanity-checking to FITS slices and use error propagation for linear gain.