Variational Tools and Geodesics