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.