gamma for revJoint corrected. There are still issues with yAcceleration.