Time varyingM2 inQ-switched lasers