Fix getPmf at out-of-bounds test values.

Fixing issue identified in #27