cnbinom fit converts input to array
preliminary unittesting of cnbinom. Issue #3 closed