Reset cifar10.lua to its last working status

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