small debug mods to indexCals.R
small debug mods to indexCalc.R