Oxidation State Calculator Formula