Make x translation positive. Simplify scoring.
Refactor sine-wave