Updated the cachematrix.R file