fixed MachS calculation bug in HD version of Sim_AvgQs_HD.py