Calculate molecular mass and composition of an element (molecule)