[Freesurfer] loading surface as a weighted graph