Design and Modeling of a Smart Wave Energy Converter