First version running of LSTM with tanh activation