added if statement in ionization.c for adiabatic cooling to fix geo.adiabatic switch bug