ik[ccd]: Simplify rotation calculations.