Update cachematrix.R

Correcting typos.