moved centre geometry to Geom class