Update cachematrix.R

small changes