added softmax units for RBM