Cython speed improvement

These were pretty amateurish mistakes, and I just can't let them be.

Also, it appears the gcc toolchain on Linux compiles a more optimized Cython file; my Linux box now runs the flower benchmark well over twice as fast with the Cython version (18 ms) as the Numpy version (43.4 ms)!