An Analytical Generator for Wave Energy Converter Optimization Using Co-Design Methods