Numerical Investigation of the Effects of Nonsinusoidal Motion Trajectory on the Propulsion Mechanisms of a Flapping Airfoil