Update cachematrix.R

By Jonathan