Use scipy erf, since only scipy also defines an erfinv function.