add sgd with momentum