Exploiting Piecewise Linearity in Wave Energy Converters