Method for calculating a global dynamic factor KAV in gears subjected to variable velocity and loading conditions