add_global_p function

Add the global p-values