A new class of energy-preserving numerical integration methods | Synapse