Updating Coords

Wrote most of the coordinate system, there are still a few bugs to be
fixed soon.