Correct makeCacheMatrix to make it functions well