converts scores to probabilities

ensures output is between 0 and 1, and sum of all scores = 1