cachematrix.R with content