postfix_normalized_distance function

Normalized Postfix Distance