added OH trajectory code, network reorganization time distribution, other various fixes and improvements