orthogonalize_factors function

Orthogonalize Factors