Reset cifar10.lua to its last working status

The cifar10.lua file was last fully working in commit f9176ad4b50e01abcad20f88195f11e5855720c7
Later version did not run (apparently left in middle of edition), hence
this commit to restor the version of cifar10.lua from f9176ad4b5.