Refactor distribution plot function
Fix inheritance of nbinom (tests still pass), closes #64