IndexCalc.R minor fix to inverseVolatilityWeighting