Code to read spreadsheet and generate matrix automatically