functions indep_pairwise_before and indep_pairwise_after written for running LD pruning in parallel, but not yet tested...