lgorithm was defined for unipartite
%   networks, for certain bipartite networks, this algorithm can give the
%   highest modularity value.
%   The bipartite modularity equation, when defined in the unipartite version for two modules, can be expressed
%   as a linear combination of the normalized eigenvectors of the modularity matrix. Therefore,
%   this method divides the network in two modules by choosing the eigenvector with the
%   largest eigenvalue, such that negative and positive components of 