Fixing simulation code and adding results.