More work on indexCalc.R - done down to rebalancing...