Atomic weight calculations