Extend the Add and Subtract ValueNodes to work with gradients.