cachematrix.R has been updated with comments