czvalues function

Computes c and z for network modules