code to median combine together staring mode darks to test their application to exoplanet data
function x/(1+x)
fitting function small updates