set geometry

old function coord() renamed to geom()