Reduce number of virtual functions for Integrator
Update testJoints.cpp for BallJoint and FreeJoint