Trace minimization principles for positive semi-definite pencils