get recurrent rbm working