Moving the sigma clipping analysis/tests from IFU_routines.ipynb to this notebook.