modified:   simulation_latent.py
new file:   utils.py