PDF bug fixes

I was referencing this code while implementing by Python-based language, and I came across a couple of bugs.

(1) A typo in the gamma log pdf.

(2) The binomial pdf was actually evaluating the cdf, not the pdf.