Modifications to the tests in 'pylearn2/tests/rbm/test_ais.py' in order to reduce their running time.

Running the command written below previously took longer than 4 hours, so I modified some parameters in order to reduce the running time to 20 minutes.
```
THEANO_FLAGS=mode=DEBUG_MODE nosetests test_ais.py
```