Added more physics stuff to sim.py