Revert "Update cachematrix.R"

This reverts commit 9a5db1120ed80641f937391d3b365e97eee34a8c.