Fix instance pdf methods at 0

* Add  check for the gamma distribution instance vs. static pdf method
* Fix distribution instance pdf to allow 0.

Signed-off-by: Trevor Norris <trev.norris@gmail.com>