DTC P0341 indicates a circuit/range performance electrical problem with the camshaft position sensor so that may be the cause of the hesitation since it helps control fuel injection system timing. I would replace it or get it replaced. The cam pos. sensor is a DIY job. Easy to replace once the front end engine components that are in the way are removed.
__________________
'08 Pontiac Grand Prix GXP (Dark Slate Metallic) - LS4 5.3L V8
'08 Pontiac Grand Prix GXP (Liquid Silver Metallic) - LS4 5.3L V8
'02 Oldsmobile Alero GL2 - LA1 3400 V6
'99 Buick Regal LS - L36 Series II 3800 V6
'03 Honda CR250R MX - 2 Stroke 250cc '97 Pontiac Grand Prix GTP - L67 Series II 3800 V6 Supercharged Timeslip 08/12/06