replace internal calls to `norm.pdf` with _norm_pdf

to avoid the public function call overhead. Closes gh-1710.