function hidden_probability = visible_state_to_hidden_probabilities(rbm_w, visible_state) % is a matrix of size