Apply period transformation $\sin(kx)$ (#468)

Apply period transformation $\sin(kx)$ (#468)

Horizontal compression/stretch; period becomes 2π/∣k∣2\pi/|k|.