Fixed some bad ordering of instructions in HermiteIntegral