Update cachematrix.R file