Started adding docstrings

Adding somewhat lackluster documentation to the code. About halfway
done.