PyGenArbor.py is where the main Python code to write the graph lives.
matUtils is just some convenience functions for working with 1d arrays as matrices.