initial commit for RBM_test

patched run_visible to allow for running a single example (i.e. a 1D
vector) The insert command had the option axis=1 set so this through an
error when there was only one dimension.