Reference to the energy model described in the Arieal Map Recognition
paper, the p(v|h) need to be changed to N~((hw+c)/2, sqrt(0.5)).