A Planar Generator for a Wave Energy Converter