Fix rst doctests in coordinates package
Merge pull request #1643 from mdboom/doctest/coordinates

fixes in coordinates to make doctests work