Calculate Average Atomic Mass