fixed a mistake in CDeepBeliefNetwork
Merge pull request #2404 from khalednasr/autoencoders

fixed a mistake in CDeepBeliefNetwork