Included the network-factory needed for calculations. Included copyright notice where missing.