made minor corrections to networkGen et. al.