Improve memory usage when checking for NaNs
Addition of pylearn2.utils.contains_inf and pylearn2.utils.isfinite
Merge pull request #1054 from madisonmay/nancheck

Improve memory usage when checking for NaNs