Total Hardness Calculation Formula