add Kurucz width9 program, fix bugs in find_mass