Text this: Finite-Time Consensus with a Time-Varying Reference State and Switching Topology