Orthogonalizing a Complex Basis