get_pvals function

Get p-values from an extended solutions matrix