Consolidated data fidelity functions

Added the clip inverse variance function to the generate inverse
variance function.
Merge branch 'master' of https://github.com/astrofoley/astr596