Add .gitignore
Rename function.  Simplify simulation code