Fixed some bugs for reaction_kinetics_run_nompi.py