Added in group and electroNegativity attributes in the resetToBasicState function