Binomial inverse p integration

Performance improvement in model.