Convert Material List to Material Map

Convert Material List to Material Map