Added support for stacked one-hot Theano vectors when input is 1D. Also fixed dimension test.