Feature/issue 674 overflow gamma p derivative

Sorry, I thought I submitted this a few months ago.  At least the branch actually exists and not a figment of my imagination...