Changed 'type' to 'model' in GEXF files, and modified associated functions in LPU.py accordingly.