MultiplexNetwork implementation finished plus some minor changes