Made reverse mode derivative propagation use addToSum instead of += (2), #380