Quat log jacobian

Added quat log jacobian.
Not tested. Should be analytically correct, but may be numerically bad.