Resonance Control Based on Hydrodynamic Analysis for Underwater Direct Drive Wave Energy Converter