Sine wave samples correctly now.