cacheMatrix implemented and documented