fix segfault by putting back model in constructor
implement get/set_x0; fix doxygen; add Coord::as_floats()