An Improved Analysis of Stochastic Gradient Descent with Momentum