Towards optimization of a wave-to-wire energy device in a breakwater contraction