cleaned up sampleHiddenGivenVisible_Data() in HiddenLayer