Revert "Added two functions to cachematrix.R"

This reverts commit f5b634ffaa5408810b169b35a36a263c162cbe11.