[mvrbm] finished implementation of variadic sum, and implemented hidden layer sampling, also introduced some more clear naming conventions and lots of comments