add weights and gain to backprop for RMSprop