added script to test gradient updates, raised the learning rate default for finetuning, and added a test_gradient function to the SdA class.