function added to load network form denis' plos one paper