extractPvalues function

Extract p-values from a model object