cleaned up sampleHiddenGivenLastVisible() in HiddenLayer