Continued on runsimulations code.  Double check optimization funcs.  Left off on 185