Tweaking simulation parameters.
Tweaking simulation parameters and PEP 8 cleanup.