adds four alpha diversity formulas

this replaces @kschwarzberg's #487. retained her commit history, but includes some pep8 fixes.