A scheme for calculating atomic charge distribution in large molecules based on density functional theory and electronegativity equalization