made foundation::binomial() inline.