test => mean
test => variance
refactoring => extract avg() method
refactoring => extract sum() method
test => inline sum
refactoring => inline avg()
Merge branch 'calculate_variance' into master
add test into all-tests.html