RNN layers for use with nntools