calcSeriesAccuracy function

Calculate the accuracy of a series of indexes