Investigation on Energy Extraction Performance of an Oscillating Foil with Modified Flapping Motion