compute mean boolean function homogeneity as a boolean network property