Improved transform/values for ImTranslator speed

Only maps down to the actual speeds ImTranslator has and use a min()
function with a key specified to normalize user input to the closest
one.