Improve documentation in quad/ directory and subdirectories

Description of the problem

Documentation is lacking in the quad/ directory

Proposed solution

Add READMEs to some of the subdirectories and improve inline code documentation. This includes: