Revert "Update cachematrix.R"

This reverts commit e675cd2886584b6b839e8b171255987ddd8c9afa.