Update cachematrix.R

cachematrix.R is updated.