Optimized Formation Control in Undulating Fields | Synapse