Text this: Numerical Analysis for a Class of Variational Integrators.