explicit chunking
draft of python class to cython struct transition
changes to support 3D