Update Test following changes in stats function Fixes following on from review Further divide by zero fixes