function d_G_by_rbm_w = configuration_goodness_gradient(visible_state, hidden_state) % is a binary matrix of size by . % is a (possibly but not necessarily binary) matrix of size