A slow feature analysis approach for the optimization of collective variables | Synapse