added SVD alternative
fixed bug with optimal rotations

still strange results