added cachedmatrix.R