added collisional ionization/recombination code to "level" class