Revert "Update cachematrix.R"

This reverts commit a443168034dddd87fcad02c8dea181f5166272c3.