formatP function

Re-format p-values, avoiding rounding to 0 and adding surprisal if requested