Made ISV be calculated per score
Fix for distance calculation
Scores calculated per distance. Bug fixing for adding scores