less buffers, less resizes for SoftMaxTree
added CudaTensor support to SoftMaxTree:type()
fixed SoftMaxTree buffer bug