Limit the range of some input parameters.
Check dimensionality of input data an throw IAE if too few columns.
Merge branch 'arno-deeplearning2'