Revert "Update cachematrix.R"

This reverts commit 80e5b3cc7804361a7b6d7ad790aaa82c8c0ac7ce.