Measuring the ellipticity of 100,000 simulated galaxies