add docstrings and redid orbital.py