Calculating Average Atomic Mass