full third draft

Rewrite the theory section.