Re-tweaked TES_2 for fixed gravity/ ramp code