Added docstrings, and partial mutliprocessing update.