Optimal motion and structure estimation | Synapse