fixed bugs in Sim_VisSinkZm.py for running on cluster