Calculate the relative atomic mass of an element from the relative masses and abundances of its isotopes