Revert "Update cachematrix.R"

This reverts commit 3e8070f1adc51d36540ce5c5438f05db83d44f6b.