add preprocessing
Merge pull request #68 from rallenz/master

add preprocessing