Cairo, now is setup with a leftHandedCoordinate system with the origin at the lower left. Everything else can now be leftHanded. This was confusing the rotation matrix estimation.