For loop LR analysis output quaternion