Update cachematrix.R

Typos fixed.