Weight Optimization for Consensus Algorithms With Correlated Switching Topology | Synapse