finalizing the comments for cachematrix.R