Convergence Analysis of Mean Shift