corrfactor_continuous function

A function to calculate the necessary information to apply the Diggle correction factor with a continuous method