More fixes for run_vasp.
Fix bug in run_vasp.