cleaned up preprocess.py
Merge pull request #10 from jarviscolin/master

cleaned up preprocess.py