int sum=0;  for(int i=0; i<nodeLevels[lindex-1].length; i++) if(graphMatrix[nodeLevels[lindex-1][i]][nodeLevels[lindex][eindex]]>0) sum = sum + (horPositions[nodeLevels[lindex-1][i]]); if(sum!=0) { sum = sum/uConnectivity(lindex,eindex);} return sum;
int sum=0;  for(int i=0; i<nodeLevels[lindex-1].length; i++) if(graphMatrix[nodeLevels[lindex-1][i]][nodeLevels[lindex][eindex]]>0) sum = sum + (horPositions[nodeLevels[lindex-1][i]]); if(sum!=0) {    sum = sum/uConnectivity(lindex,eindex);
    protected int uBCenter(int lindex, int eindex, int horPositions[]) {	int sum=0; 	for(int i=0; i<nodeLevels[lindex-1].length; i++)	    if(graphMatrix[nodeLevels[lindex-1][i]][nodeLevels[lindex][eindex]]>0)		sum = sum + (horPositions[nodeLevels[lindex-1][i]]);	if(sum!=0)  // To avoid 0/0	    {//System.out.println("uBC Result: "+sum+"/"+uConnectivity(lindex,eindex)+" = "+(sum/uConnectivity(lindex,eindex)) );		sum = sum/uConnectivity(lindex,eindex);}	return sum;    }