A Smart Weighted-Louvain Algorithm for Community Detection in Large-Scale Networks