implement and test limits for binomial function

we now take the midpoint of the limits, and use that in the binomial
test. This is a little more general than the published test, and allows
us to do some additional tests for skewness.