Changed GenericAlgorithm to accept network in the init statement rather than run stage