Added 2D numpy (de-)serialization support. 3D+ currently being mangled by Matlab