Update cachematrix.R

modified