apply_correction function

Apply correction to p-values