added functionality to take in both a series and dataframe for all functions, testing still needs to be completed
couple bug fixes, now the doctest runs without error
Merge pull request #1 from benjaminmgross/series_or_benchmark

Ran the `python -m doctest analyze.py` and all tests passed, ready to be merged back into master