version 1.0 training using gradient descent with momentum