where s is a diagonal matrix whose elements are the eigenvalues of S. The vectors whose eigenvalues are less than a threshold (10 -8 by default in OpenMolcas) are linearly depen-dent ( τ ) and discarded. Using Löwdin's canonical orthogonalization, we can define the transformation matrix X only for linearly independent vectors (υ):