Revert "Update cachematrix.R"

This reverts commit cd49b339f8649b7121e9ce503fd65d66e2c0b786.