corrfactor_discontinuous_sparse function

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