Revert "Update cachematrix.R"

This reverts commit fed96b65caf4094c6f7840308f4a95d02eb6cc22.