some speedups
- should not use shared memory unless stuff has to be shared...
- syncthreads in gradbias
added some comments to explain the pixel copy
Merge branch 'master' of git://github.com/leonbottou/torch7-custom