fixed infinite loop in make_kurucz_atmosphere