Initial Cython version.  Compression seems to be working.