Edited contents of cachematrix.R