Elastic Locomotion with Mixed Second-order Differentiation | Synapse