Add paper on internals

This patchset will add the basic lineout of a paper which describes the datastructure the library uses internally.
Remove the blank lines between the `\input` commands, please.