1. Fixed simulators.py to handle contact correctly.