IList to Disctionnary => Matrix