Update cachematrix.R

Reviewed.