Riemannian Optimization and Its Applications