implemented rmsprop, momentum, and batch training for recurrent nets