Relicensed some statistical functions under the BSD license so SciPy
can use it.