General Case:
From Singular Value Decomposition it follows
that since C is symmetric:
where R is a rotation matrix.
So every case is like one on last slide.