cachematrix.r

My changes.