Fixed a bug in cort_conn_mat