implemented recurrent dropout and state noise