2 Finger touch rotate interaction, I want to rotate my camera with 2 finger movement-Clockwise /Anti Clock

I have tried to write something in my blueprint, please have a look.
But the out put is not as expected, the camera sometimes snaps to random angle and the rotates according to the movement of my hand.The problem I am facing is unwanted snapping of the camera to a random angle at the start of touch2 event.