Fix for NegativeBinomial Distribution mentioned in issue #638