A Basis Theory Primer: Expanded Edition (Applied and Numerical Harmonic Analysis)