Distance implementation,  and zipValues

What do you think?