Revert "Update cachematrix.R"

This reverts commit 470273fc277e70aef163b995b4016d7a3670d0b5.