Optimization of the WaveCat wave energy converter