added tau_ext to single_joint