Updating the cachematrix.R file