Convergence of Alternating Gradient Descent for Matrix Factorization