Revert "Update cachematrix.R"

This reverts commit 7d13751e28b4af2fbcb7860d8f8d661dcf2d4e6b.