BUG: Return of _logpmf

This fixes the bug mentioned in #4029
I think it's something to do with your patch-1 branch vs. your master branch.  This PR knows only about your patch-1 scipy branch and I think your last commit was to only your master scipy branch.