Fixed search of maximum centrality vertex for any iteration.

Search of max centrality vertex is fixed.