separated out tanh and rectified linear units; added sigmoid for good measure