Calculation of Average Molecular Weight