Fix wrapping.

[FIXED]     Fix coordinate delta methods to take wrapping into account correctly.