Update cachematrix.R

Second attempt