changes to cacheMatrix.R