Structures rewritten to namedtuple.

Bump #5, fixed #6.
Added template for publication unittest.

Bump #11.