Revert "Update cachematrix.R"

This reverts commit 1727434d21f7aaa8a8ac89b9a696508e0cd2c0cf.