add momentum to backprop