Added documentation to simulations.py