corrfactor_continuous_sparse function

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