changed some training stuff, changed recurrent layer