A Basis Theory Primer: Expanded Edition (Applied and