cleaning and minor fixes
a DBN with classifiers at each stage to analyse pre-training