get_min_pval function

Get minimum p-value