cython setup.py

This seems to be the most recommended way to compile a cython file
without surprises.
separate solutions

Move to a file from the IPython Notebook.
use numpy instead of scipy