added headers to geometry files, and used the delayed import for networkx

This does the delayed import for NetworkX in the geometry files, and also adds the MDTraj GPL header.