Revert "Update cachematrix.R"

This reverts commit 1af954668494b8f04e826e469729b88571f5cadb.