smoothw function

A function to tentativily smooth a time wave