Cython

change to cython to make life easier (perhaps!) 

solve #2