Extract Matrix from the dataset

Extracted matrix required for chord diagram.