Need Healp Recreating CSGO Recoil !!

Hi,
i just wanted to create a similar recoil system with CSGO and BF4 wich you have to “fight” the recoil by moving the mouse down wich create so called recoil patterns

https://forums.unrealengine.com/filedata/fetch?filedataid=130626&type=thumb

so i ended up with this spring like recoil wich when firing it adds rotation for the camera and return to the intial rotation and i wanted to introduce this recoil compensation but it dont work , i couldn’t figure the math behind it so hope you help me ! here is my configuration