Created Correction Factor Function