Iterative feedforward tuning for residual vibration reduction