Add the possibility to set the order
Added test for logger
Made isNaN a local function.
Merge pull request #15 from fidlej/topic_local_isNaN

Made isNaN a local function.
Merge pull request #14 from GregoryEssertel/plot_enhancement

Plot enhancement
Merge branch 'master' of github.com:torch/optim