Minor changes to batchEcon2.R