Reducing Cogging Forces in a Linear Generator for Ocean Wave Energy