fixed a mistake in CDeepBeliefNetwork