Fixed sine wave example
Updated the flag example by computing mean velocities
Updated the sine wave example by computing mean velocities