> the guess_coord_axis function would fit better as a method on the coordinate

Hear hear. It's better OO but out of scope here here.