calculate_coclustering function

Calculate coclustering data.