implemented chunking with tests
Updated docs for `mean`
renamed some vars
mean can now chunk horizontally