Revert "Update cachematrix.R"

This reverts commit fe027fe23b919d5ef2dc19cf95721405c4e0a14d.