normalize_score function

Normalize raw scores