cachematrix.R without comments