create_mats function

Create connection matrices for tractography or fMRI data