Revert "Update cachematrix.R"

This reverts commit 89aabb034832ac5dd38dc8fde8317c6911a707a0.