added first order approx to numbers and distance conversion, which is broken...
merged varience and distance functions.