Calculation of Relative Atomic Mass