Add helpful comments to sine wave demo