Python Incidence-matrix Resources