Decompose rotation using Shoemake's