Putting finishing touches on series.py, adding docstrings/comments