Added replicated softmax. Fixed bug in hidExpect method for gaussian rbm