Made wave sinusoidal.