Geometry Optimisation of a Wave Energy Converter