kpoint distance calculated in cartesian coordinates now.