Generates a 3D vertex list and apolygon list, given a 2D array containing z values.
polygon_list A 1D array containing the number of sides for each polygon, as well as the subscripts into the vertex_list array for the vertices of each polygon.
pg_num The total number of polygons defined by vertex_list and polygon_list. This parameter can be used as input into POLY_PLOT.