rbm.m - linear hidden units