Added linear fitting functions to uvis_contam.py.