Fix inconsistent sign of reaction force for TotalPinJoint
This branch restores the original sign convention of the reaction force of the total pin joint if automatic differentiation is enabled.
This branch restores the original sign convention of the reaction force of the total pin joint if automatic differentiation is enabled.