Update cachematrix.R

Editing the file and uploading it back to the fork