CacheMatrix 2

Same as before, but with comments.