update the cachematrix.R file