fix seed numpy type interaction with cython
tidy some reader syntax
fix container class warnings

UNTESTED!
Merge branch 'feature/p2d' into develop
py3k compatibility fixes