Updated live code example. Moved definition of BinDefinition to namespace sonotopy to be able to define bins form Python. Nested structs are not supported by SWIG.