Updated prepare_graph() to accept the argument node_attributes instead of threshold to more easily convey the nature of the attributes.
Added graph_to_trio(), which converts a graph into trio information again.