fixing pretrain dbn to setup dbn with whitened data