Add change net index function to allow one to quickly change the layer names' index of a network.