Improved (and correct) algorithm for triangle counting; parallelized triangle filtering tasks; triangles are now sorted by edge overlap so as to maximize edge removal; refactored networkbuild a bit