Fixed typo.
No need for uppercase letter local variables.
More direct code: the sum for the covariance coefficient is more directly calculated.
Fixed generator syntax error.
Added tests for numpy.mean(), with and without a specific axis.
Added test for mean() with axis.