The code repeats calculating the returned lists x,y,z from class (XYZ) for each round inside the (S) class loop, and that is time consuming. How could I get those lists out