Getting deltas in cartesian coordinates

Signed-off-by: Paulo Roberto Urio <jimmyskull@gmail.com>