Revert "Delete cachematrix.R"

This reverts commit 5d5a4c7a44e8f2715b78353981c17ea434ad47d2.