Update cachematrix.R

Revised v 1.3