fixed bigger remaining bugs in Sim_Mdot.py