Learning from tractography: reconstructing and analysing structural connections