Added fully connected connectivity function