Returns the x/y-position for a Vector of distances d in n possible values
d2xy2(n, d)
n
Size of
d
Second value
Matrix of x y values