Revert "Update cachematrix.R"

This reverts commit 6c130af9187e540aacc0ec931dd6a011b38bf47a.