Discrete mechanics and variational integrators | Synapse