Modified the cachematrix.R file