Total Decoupling of a general quadratic pencil, Part II: Gradient flow approaches