LSTMBlock forward propagation implementation.