Changes to qm for TS generation
Added pm6 and pm7 calculations