Calculation and Application of Partial Charges