Fixed another (g) bug, like the previous commit.
Allowing the topological order mapping to be nested.
Fixed a bug in \graph_remove_vertex and added \graph_vertex_count.