Merge pull request #1 from kif/master

some interesting code
Merge remote-tracking branch 'pierre/master'
minor corrections
make preprocessing kernel 2D kernels
moved to 2D preprocessing (with tests OK)