Tidying nb-fun.py.
Revert "add matrix->dict converter for labeling graphs"

This reverts commit a26e2bfc3934d07063cc3eee4d4bfde4cc13f976.

Conflicts:
	nb-fun.py