math.statistics: Get smart about the geometric mean. Calculate it in logspace so we can use addition of small logarithms and multiplication instead of the nth root of a giant product.