sine wave works

need to fix others