All-electric wave energy converter connected in array with common DC-link for improved power quality