Text this: Algorithm for orthogonal matrix nearness and its application to feature representation.