Update cachematrix.R
Update cachematrix.R
Revert "Update cachematrix.R"

This reverts commit d50f8830e47974cd760e87c5be208c582a9a6116.