RF+DOC: more docstring, pep8-ify processing module

From review by Eric L.