Python sampler up and running Cython