Solving for rotations
minimize