added doublewell to Rtracker in outputToTex