Use difference function to compute gradAtt,

Reset quaternion velocity in gradients,

Add constants outputs,

remove useless headers.