Making repatin check turn empty strings to 0.
Removed duplication of converters.
Metric distances.