MRI template and connectivity matrix incompatible in dimensions?

Thank you so much, this solution worked!

Just one more thought on this: for some reason, the parcels don't seem to be arranged correctly in the figure. For example, not all the right hemisphere parcels are on the right side of the graph - some are on the left (and the other way around for the left parcels). This can be seen from the parcels labels in the figure below. Is there something I could do to solve this issue?

Thank you again!