tweaks to RBM's base class hierarchy and how some of the member variables are setup