modified gpu tanh layer, fixed a mistake. cpu version still wrong.