Redesign of get_data() and deletion of determine_graph_type().
get_data() determines the graph type in a few lines of code, so determine_graph_type() is not
necessary. get_data() now returns the 4D grace graph data structure, the labels for the data sets,
and the graph_type.