Added additional comments to the cacheMean function def