Improvements to the map class

1. Valid Coordinate helper.
2. position now returns the center of a square (again).