On a Class of Rearrangeable Switching Networks Part I: Control Algorithm | Synapse