Changed cachematrix.R