solve documentation and tests

also, clearn up a comment in python_header: at least on octave, structs are better dicts than I thought.  you just need dict.('1') to access something keyed with an integer for example.  Doesn't work on Matlab though