Modelling and Optimization of Wave Energy Converters