Fix for NegativeBinomial Distribution mentioned in issue #638

Fix for issue #638