Refactored the dA code so that there are two sub-classes: GaussianDA and BernoulliDA
They implement different get_cost_... and get_reconstructed_input

Merged these changes into SdA, and made changes to test the new classes in pretrain_SdA