Corrected some spelling mistakes in the comments for SdA methods, added function printing debug statements to the pretraining tests.