Statistical calculations. Used to calculate multiplicity moments (with errors), normilised multiplicity moments, factorial moments, limits using the likelihood ratio semi-Bayesian method.