Added variables for simpler parameter changes
simulator for optimizing first guess--runs up to 5x5