Add paper on internals

This patchset will add the basic lineout of a paper which describes the datastructure the library uses internally.