Variational optimization algorithms for uniform matrix product states | Synapse