Construct sinusoidal functions