Revert "Update cachematrix.R"

This reverts commit 821824c7edfa22877449766406d6b762fe17241a.