def output(theta,final_list):
	"""Function takes each point and returns the x,y,z coordinates in three lists.
		Input: theta (for testing), final sides dictionary
		Output: three lists of x,y,z
	"""
	#create 3 empty lists for the x,y,z coordinate values
	x = list()
	y = list()
	z = list()
	final_coordinates = []

	#iterate through dictionary to add the side coordinates to a list
	for i in final_list:
		final_coordinates.append(final_list[i][2]) 

	#iterate through coordinate list to create three lists of x,y, and z respectively
	for i in final_coordinates:
		for j in i: 
			x.append(j[0])
			y.append(j[1])
			z.append(j[2])
	return x,y,z