Hydrodynamic optimization of the geometry of a sloped-motion wave energy converter