Cool stuff, thanks guss.

I still can't see it though.

lets say the value for cordinate x is 3 and y is 5. What is the "function" of this part; (3+3+3)+(5+5+5+5+5).

Asked differently,

Why does the value of length along a dimension have to be squared in order to calculate the distance to an other value of length along a different dimension. (oohhh triangulating

)

Maybe if I play with right angle triangles looking for this it'd make it more clear.