Add quaternion exponential/logarithm derivatives