Replaced push_back by emplace_back whenever possible. Moved rvalue a into hydrogens and atoms