fixed typo bugs in Sim_AvgQs.py