Added weight to avg computation in CaliperResults.R
Fixed shared memory indexes when GRID_SIZE=1