140404 removed the line that changes any negative resistance to positive resistance. changed the rampdown=true conditions to be (counter > 6 and (res > res_bench || res <0))