Moved the sine-wave function to src/nlin.pyx