The effect of closed channels on the electron impact excitation of Mg+, Cd+ ions. (19th March 2018)