Better handling of prevItem and prevScore initialization; first item in iterator now always gets the currentIndex based ECDF value. Cleaned everything up so that all lines are under a hundred characters in length