Changed getDistinctiveScore return type to double