Updated makeCacheMatrix and cacheMatrix