Added flatten parameter to FullyConnected layer and added bidirectional parameter to RNN layers

3 jobs for develop in 3 minutes and 25 seconds (queued for 42 minutes and 13 seconds)