make transform operate on vector and return hidden layer activations on
Merge remote-tracking branch 'origin/master'