Write in CacheMatrix functions