Calculation of Total Weight