added rectified linear/tanh units, L2 regularization