Are you sure about the unit of measures? At least from the code, it appears that stiffness is Nm/deg .