Merge pull request #7 from jwayne/josh

progress on input preprocessing
Finished (but didn't test) preprocessing workflow