bRetInd is currently defined as an input argument (to retain/save individual simulations) but is not doing anything.