Revert "Update cachematrix.R"

This reverts commit 1fdfd069526a04e432e9ff09ddf418f41f4c94fa.