shape checking
Merge branch 'master' of github.com:lisa-lab/pylearn2