Discovery of complex behaviors through contact-invariant optimization | Synapse