changes made to cacheMatrix.R